<ul>
    <li>
<?php  if($this->status == Country_Model_DbTable_Countrymembers::NOMEMBER) :?>
    <a class ="smoothbox" href="<?php echo $this->url(array('action'=>'join','id'=> $this->country->country_id,'format'=>'smoothbox'),'country_general',true);?>" > <?php echo $this->translate('Join To Country')?> </a>
<?php endif;?>

<?php  if($this->status == Country_Model_DbTable_Countrymembers::MEMBER) :?>
    <a class ="smoothbox" href="<?php echo $this->url(array('action'=>'leave','id'=> $this->country->country_id,'format'=>'smoothbox'),'country_general',true);?>" > <?php echo $this->translate('Leave From Country')?> </a>
<?php endif;?>
    </li>
</ul>
